package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.ReservationDto;
import com.zzyl.nursing.dto.ReservationPageDto;
import com.zzyl.nursing.vo.ReservationVo;

import java.util.List;
import java.util.Map;

public interface IMemberReservationService  {

    void insertReservationInfo(ReservationDto dto);

    List<ReservationVo> getReservationList(ReservationPageDto dto);

    void updateReservationInfo(Long id);

    Integer getCancelledReservationCount(Long userId);

    List<Map<String, Object>> countByTime(Long time);





    void updateReservationStatus();

}
